package file;

import java.io.File;

public class MkDirDemo {
    public static void main(String[] args) {
        File dir = new File("demo");
        if (!dir.exists()) {
            dir.mkdir();
            System.out.println("This directory is create!!!");
        }else {
            System.out.println("This directory has been create!!!");
        }
    }
}
